package Mangos::DB::Mangos::LocalesAchievementReward;

use strict;

use base qw(Mangos::DB::Mangos);

__PACKAGE__->meta->setup
(
    table   => 'locales_achievement_reward',

    columns => 
    [
        entry        => { type => 'integer', not_null => 1 },
        subject_loc1 => { type => 'varchar', default => '', length => 100, not_null => 1 },
        subject_loc2 => { type => 'varchar', default => '', length => 100, not_null => 1 },
        subject_loc3 => { type => 'varchar', default => '', length => 100, not_null => 1 },
        subject_loc4 => { type => 'varchar', default => '', length => 100, not_null => 1 },
        subject_loc5 => { type => 'varchar', default => '', length => 100, not_null => 1 },
        subject_loc6 => { type => 'varchar', default => '', length => 100, not_null => 1 },
        subject_loc7 => { type => 'varchar', default => '', length => 100, not_null => 1 },
        subject_loc8 => { type => 'varchar', default => '', length => 100, not_null => 1 },
        text_loc1    => { type => 'text', length => 65535 },
        text_loc2    => { type => 'text', length => 65535 },
        text_loc3    => { type => 'text', length => 65535 },
        text_loc4    => { type => 'text', length => 65535 },
        text_loc5    => { type => 'text', length => 65535 },
        text_loc6    => { type => 'text', length => 65535 },
        text_loc7    => { type => 'text', length => 65535 },
        text_loc8    => { type => 'text', length => 65535 },
    ],

    primary_key_columns => [ 'entry' ],
);

1;

package Mangos::DB::Mangos::LocalesAchievementReward::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Mangos::LocalesAchievementReward' }

__PACKAGE__->make_manager_methods('locales_achievement_reward');

1;
